From fe92c4478e8d62b623690a07a4328b43edb1d62b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 22 Jun 2014 22:04:00 -0400 Subject: [PATCH] Move some comments around --- gtk/gtkicontheme.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 3c427d683b..86b4e157ea 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -1710,9 +1710,7 @@ real_choose_icon (GtkIconTheme *icon_theme, { icon_info = icon_info_new (ICON_THEME_DIR_UNTHEMED, size, 1); - /* A SVG icon, when allowed, beats out a XPM icon, but not - * a PNG icon - */ + /* A SVG icon, when allowed, beats out a XPM icon, but not a PNG icon */ if (allow_svg && unthemed_icon->svg_filename && (!unthemed_icon->no_svg_filename || @@ -1912,7 +1910,6 @@ choose_icon (GtkIconTheme *icon_theme, return icon_info; } - /** * gtk_icon_theme_lookup_icon: * @icon_theme: a #GtkIconTheme @@ -3704,9 +3701,6 @@ icon_info_ensure_scale_and_pixbuf (GtkIconInfo *icon_info, if (icon_info->load_error) return FALSE; - /* SVG icons are a special case - we just immediately scale them - * to the desired size - */ if (icon_info->icon_file && !icon_info->loadable) icon_info->loadable = G_LOADABLE_ICON (g_file_icon_new (icon_info->icon_file)); @@ -3770,6 +3764,9 @@ icon_info_ensure_scale_and_pixbuf (GtkIconInfo *icon_info, &icon_info->load_error); if (stream) { + /* SVG icons are a special case - we just immediately scale them + * to the desired size + */ if (icon_info->is_svg) { gint size; -- 2.30.2